<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>多系列的柱状图</title>
	<script src="../static/js/echarts.js"></script>
	<!-- <script src="../static/js/echarts.min.js"></script> -->
</head>
<body>
	<div id="main" style="width: 600px;height:400px;"></div>
</body>
<script type="text/javascript">
// 基于准备好的dom，初始化echarts实例
var myChart = echarts.init(document.getElementById('main'));

// 指定图表的配置项和数据
var option = {
	xAxis: {
		data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
	},
	yAxis: {},
	series: [
		{
			type: 'bar',
			data: [23, 24, 18, 25, 27, 28, 25]
		},
		{
			type: 'bar',
			data: [26, 24, 18, 22, 23, 20, 27]
		}
	]
};

// 使用刚指定的配置项和数据显示图表。
myChart.setOption(option);
</script>
</html>
